package com.atguigu.yygh.hosp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName ServiceHospApplication
 * @Description: 类描述
 * @Author: admin
 * @CreateDate: 2024/5/22 23:10
 * @UpdateUser: 更新人
 * @UpdateDate: 2024/5/22 23:10
 * @UpdateRemark: 更新的信息
 * @Version: 1.0
 */

@EnableDiscoveryClient
@SpringBootApplication
//设置包扫描路径，用于读取swagger2配置
@ComponentScan(basePackages = "com.atguigu")
@EnableFeignClients(basePackages = "com.atguigu.yygh.cmn")
public class ServiceHospApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospApplication.class, args);
    }
}
